{% extends "base_site.html" %}

{% block title %}Unauthorized{% endblock %}

{% block content %}

    <H2>Unauthorized</h2>

    <h3>
        {% if user_name %}
            Sorry, {{ user_name }}, you are not authorized{% if group_name %} to access Group: {{ group_name }}{% else %} to access this page.{% endif %}
        {% else %}
            <p>Login invalid</p>
        {% endif %}
    </h3>

{% endblock %}
